nodeparser: Change the serialization
authorMatthias Clasen <mclasen@redhat.com>
Sat, 3 Apr 2021 00:36:58 +0000 (20:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 3 Apr 2021 00:38:32 +0000 (20:38 -0400)
commitefb5e793a40798aa0ed0631fdb8af59c3b192973
tree06444e476f44c5dcb27f5a6653887b62cf1202bd
parentf2edf40e480cdd2cf07915f8313d5fcb9aa558d3
nodeparser: Change the serialization

Arrange things so that non-child parameters
are always printed before the children. This
greatly helps with readability, which really
suffers when there's hundreds of lines of indented
children between the node start and its parameters.

Update all affected tests.
12 files changed:
gsk/gskrendernodeparser.c
testsuite/gsk/nodeparser/blend.ref.node
testsuite/gsk/nodeparser/crash2.ref.node
testsuite/gsk/nodeparser/crash3.ref.node
testsuite/gsk/nodeparser/empty-clip.ref.node
testsuite/gsk/nodeparser/empty-cross-fade.ref.node
testsuite/gsk/nodeparser/empty-linear-gradient.ref.node
testsuite/gsk/nodeparser/empty-rounded-clip.ref.node
testsuite/gsk/nodeparser/empty-shadow.ref.node
testsuite/gsk/nodeparser/shadow.ref.node
testsuite/gsk/nodeparser/testswitch.ref.node [new file with mode: 0644]
testsuite/gsk/nodeparser/widgetfactory.ref.node [new file with mode: 0644]